<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-01-31
 * Time: 14:28
 */

namespace app\admin\validate;

use think\Validate;

class Tag extends Validate
{

    //表单验证规则
    protected $rule = [
        'tag_name'  => 'require',
    ];

    //提示信息
    protected $message = [
      'tag_name.require'   => '请填写标签名',
    ];
}